package com.wo.cloud.code.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.wo.cloud.core.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2021/6/17 15:35
 * Description: 数据库 库信息
 */

@Data
@Accessors(chain = true)
@ApiModel(value = "数据库库信息")
@TableName("sys_data_source")
public class SysDataSource extends BaseEntity {

    @ApiModelProperty(value = "数据库名称")
    private String name;

    @ApiModelProperty(value = "数据库类型")
    private String dbType;

    @ApiModelProperty(value = "数据库驱动")
    private String driverClass;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "数据库密码")
    private String password;

    @ApiModelProperty(value = "数据库连接")
    private String url;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "数据库状态")
    private String status;

}
